package com.studio49.exmple.entity.web.sys;

import com.studio49.exmple.core.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name="user_role_rel")
public class UserRoleRel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Column(name="user_id")
    private Long userId;

    @Column(name="role_id")
    private Long roleId;

    public Long getUserId()
    {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return this.roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

}
